package com.wgy.day17.继承性.抽象类和子类.demo01;

import com.wgy.day17.继承性.抽象类和子类.demo01.Animal;

public class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    public Dog() {
        System.out.println("子类构造方法执行啦");
    }
}
